[ToC] [Up] [Back] [Next] ... [Book Plug] The Information Commons
.................... Introduction to HTML

3.3 LINK Element

The LINK element belongs within the HEAD element of an HTML document. It is to be used to indicate a relationship between the document and other documents or objects. Consequently a document may have any number of LINK elements, to indicate all the possible relationships between the document and other, related documents.

The LINK element is empty (i.e, there is no closing </LINK>) but takes the same attributes as the Anchor (A) element. Typically, a LINK element would be used to indicate authorship, related indexes and glossaries, older or more recent versions, etc. Links can also indicate the tree structure in which the document was authored by pointing, for example, to the "parent", "next" or "previous" documents.

3.3.1 Examples of LINK

<HEAD>
  <LINK HREF="file2.html" REL="next">
  <LINK HREF="/cgi-reg/gloss.pl" REL="glossary">
  <LINK HREF="/cgi-bin/index.pl" REL="index">
  <LINK HREF="toc.html" REL="contents">
  <LINK HREF="file0.html" REL="previous">
</HEAD>

[ToC] [Up] [Back] [Next] ... [Book Plug] .................... Introduction to HTML

© Ian Graham 1994-1995 Page Last Updated: 4 December 1995